home *** CD-ROM | disk | FTP | other *** search
- Path: felix.teclink.net!usenet
- From: rad@techlink.net (rad)
- Newsgroups: comp.sys.amiga.programmer
- Subject: Re: Is this a SAS/C bug or have I coded it wrong?
- Date: 10 Jan 1996 02:11:04 GMT
- Organization: TECLink Internet Services: info@TECLink.Net
- Message-ID: <508.6581T1376T2868@techlink.net>
- References: <4cfrc5$gsc@misery.millcomm.com>
- NNTP-Posting-Host: tc1_42.teclink.net
- X-Newsreader: THOR 2.22 (Amiga;TCP/IP) *UNREGISTERED*
-
- >Is this a SAS/C bug or am I getting more blind???
- >...
- > if ( tmpbuf[0] & 0x1f == 1 )
-
- What you probably want is:
-
- if ((tmpbuf[0] & 0x1f) == 1)
-
- ------------------------------------------------------------------------------
- - Richard Deken EMail: (personal) rad@teclink.net
- - VLSI design engineer (AuE business) rad@aue.com
- - Advanced Microelectronics PGP public key available
- ------------------------------------------------------------------------------
-
-